﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace VNet.VisiSuite.Service.Contact.Message.Item
{
    [DataContract(Namespace = VisiSuiteNamespace.Uri + "dto/AreaItem")]
    public class AreaShiftItem
    {
        [DataMember(IsRequired = true)]
        public int AreaShiftId { get; set; }

        [DataMember(IsRequired = true)]
        public int AreaId { get; set; }

        [DataMember(IsRequired = true)]
        public string Description { get; set; }

        [DataMember(IsRequired = true)]
        public bool Enabled { get; set; }

        [DataMember(IsRequired = true)]
        public bool Hidden { get; set; }

        [DataMember(IsRequired = true)]
        public TimeSpan StartTime { get; set; }

        [DataMember(IsRequired = true)]
        public TimeSpan EndTime { get; set; }

        [DataMember(IsRequired = true)]
        public string CreatedBy { get; set; }

        [DataMember(IsRequired = true)]
        public string LastUpdatedBy { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime CreatedDate { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime LastUpdatedDate { get; set; }

        [DataMember(IsRequired = true)]
        public byte[] TimeStamp { get; set; }
    }
}
